home *** CD-ROM | disk | FTP | other *** search
/ Kimeruze! Yamikon! / Kimeruze! Yamikon!.iso / mac / YARIKON / HYOUKA.Dxr / 00023.ls < prev    next >
Encoding:
Text File  |  1996-10-23  |  887 b   |  41 lines

  1. on exitFrame
  2.   global ayumi, mayu, syu
  3.   puppetSprite(2, 1)
  4.   puppetSprite(3, 1)
  5.   puppetSprite(4, 1)
  6.   puppetSprite(5, 1)
  7.   puppetSprite(6, 1)
  8.   puppetSprite(7, 1)
  9.   if ayumi < 4 then
  10.     set the castNum of sprite 2 to 2
  11.   else
  12.     if ayumi < 9 then
  13.       set the castNum of sprite 2 to 3
  14.     else
  15.       set the castNum of sprite 2 to 1
  16.     end if
  17.   end if
  18.   if syu < 4 then
  19.     set the castNum of sprite 3 to 8
  20.   else
  21.     if syu < 9 then
  22.       set the castNum of sprite 3 to 9
  23.     else
  24.       set the castNum of sprite 3 to 7
  25.     end if
  26.   end if
  27.   if mayu < 4 then
  28.     set the castNum of sprite 4 to 5
  29.   else
  30.     if mayu < 9 then
  31.       set the castNum of sprite 4 to 6
  32.     else
  33.       set the castNum of sprite 4 to 4
  34.     end if
  35.   end if
  36.   set the castNum of sprite 5 to 12 + ayumi
  37.   set the castNum of sprite 6 to 12 + syu
  38.   set the castNum of sprite 7 to 12 + mayu
  39.   updateStage()
  40. end
  41.